Automattic\WCShipping\Migration\LegacyLabelMigrator S

Total Complexity 31
Dependencies 8
Dependents 2
Total lines 242
Lines of code 162
Logical lines of code 68
Comment lines 32
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
get_order_shipments()
S
48 6 40
convert_item_and_copy_label_data()
S
51 5 27
get_next_batch_to_process()
S
54 3 22
get_total_pending_count()
S
56 3 20
process_batch()
S
61 3 12
start()
S
68 2 7
stop()
S
71 2 6
__construct()
S
76 1 4
get_name()
S
82 1 3
get_description()
S
82 1 3
get_default_batch_size()
S
82 1 3
needs_migration()
S
80 1 3
migration_queued()
S
75 1 4
add_internal_shipment_id()
S
69 1 8